package mongodb

import "go.mongodb.org/mongo-driver/bson/primitive"

type CarsOutMongoDbStruct struct {
	Id             primitive.ObjectID `bson:"_id,omitempty"`
	OutPhoto       string             `bson:"out_photo"`
	RegionName     string             `bson:"region_name"`
	ParkTime       int                `bson:"park_time"`
	OrderType      int                `bson:"order_type"`
	PushStatus     int                `bson:"push_status"`
	OutTime        string             `bson:"out_time"`
	OrderNo        string             `bson:"order_no"`
	ParkName       string             `bson:"park_name"`
	CarType        int                `bson:"car_type"`
	SerialNo       string             `bson:"serial_no"`
	AmountPlatform int                `bson:"amount_platform"`
	MuchId         string             `bson:"much_id"`
	CarNumber      string             `bson:"car_number"`
	ParkAmt        int                `bson:"park_amt"`
	ChargeAmt      int                `bson:"charge_amt"`
	InTime         string             `bson:"in_time"`
	AmountUser     int                `bson:"amount_user"`
	PushErrNum     int                `bson:"push_err_num"`
	CouponAmt      int                `bson:"coupon_amt"`
	RegionCode     string             `bson:"region_code"`
	Otype          int                `bson:"otype"`
	CarNoColor     int                `bson:"car_no_color"`
	InPhoto        string             `bson:"in_photo"`
	PushTime       int                `bson:"push_time"`
	ParkCode       string             `bson:"park_code"`
}

func (c *CarsOutMongoDbStruct) MongoDBTableName() string {
	return "out"
}
